package com.itheima.mapper;

import com.itheima.entity.Classes;
import com.itheima.entity.PageQueryObject;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ClassMapper {

    List<Classes> selectByParam(PageQueryObject pageRequestParam);

    Integer isHasStudent(Integer id);

    void delete(Integer id);

    void save(Classes clazz);

    Classes getById(Integer id);

    void update(Classes clazz);

    List<Classes> list();
}
